package org.example.storage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.storage.model.entity.StorageDO;

/**
 * @author shenguangyang
 */
@Mapper
public interface StorageMapper extends BaseMapper<StorageDO> {
    void decrease(@Param("productId") Long productId , @Param("count") Integer count);
}
